This wisdom text is ascribed to the powers of King Solomon's Seal. Known as the Star of David, it is also known as the five pointed star worn by police officers and is also prominently displayed on U.S. war planes.
It seems that possession by evil spirits was a common belief in the days of King Solomon and exorcism or "the casting out of demons" was carried out quite frequently.
These texts give detailed descriptions of the methods to provide protection from demons.